﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="doc.aspx.cs" Inherits="admin_doc" %>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />
  <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>


<%--<script type='text/javascript'>
    $(function () {
        var overlay = $('<div id="overlay"></div>');
        overlay.show();
        overlay.appendTo(document.body);
        $('.popup').show();
        $('.close').click(function () {
            $('.popup').hide();
            overlay.appendTo(document.body).remove();
            return false;
        });

        $('.x').click(function () {
            $('.popup').hide();
            overlay.appendTo(document.body).remove();
            return false;
        });
    });

</script>--%>
<title>Real estate</title>


<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox16").hide();
        $("#DropDownList20").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox16").show();
            }
            else {
                $("#TextBox16").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox46").hide();
        $("#DropDownList32").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox46").show();
            }
            else {
                $("#TextBox46").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox47").hide();
        $("#DropDownList50").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox47").show();
            }
            else {
                $("#TextBox47").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox15").hide();
        $("#DropDownList15").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox15").show();
            }
            else {
                $("#TextBox15").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox45").hide();
        $("#DropDownList24").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox45").show();
            }
            else {
                $("#TextBox45").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#d6").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox27").hide();
        $("#DropDownList10").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox27").show();
            }
            else {
                $("#TextBox27").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#d6").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox34").hide();
        $("#DropDownList11").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox34").show();
            }
            else {
                $("#TextBox34").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox8").hide();
        $("#DropDownList36").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox8").show();
            }
            else {
                $("#TextBox8").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox20").hide();
        $("#DropDownList16").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox20").show();
            }
            else {
                $("#TextBox20").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox5").hide();
        $("#DropDownList42").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox5").show();
            }
            else {
                $("#TextBox5").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox7").hide();
        $("#DropDownList43").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox7").show();
            }
            else {
                $("#TextBox7").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox9").hide();
        $("#DropDownList37").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox9").show();
            }
            else {
                $("#TextBox9").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox19").hide();
        $("#DropDownList48").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox19").show();
            }
            else {
                $("#TextBox19").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox11").hide();
        $("#DropDownList39").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox11").show();
            }
            else {
                $("#TextBox11").hide();
            }

        });
    });
</script>
<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css"/>
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
   

<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList2").change(function () {

            var x = $(this).val();

            if (x == "Yes") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox8").hide();
        $("#DropDownList11").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox8").show();
            }
            else {
                $("#TextBox8").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox15").hide();
        $("#DropDownList25").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox15").show();
            }
            else {
                $("#TextBox15").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox10").hide();
        $("#DropDownList15").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox10").show();
            }
            else {
                $("#TextBox10").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox7").hide();
        $("#DropDownList12").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox7").show();
            }
            else {
                $("#TextBox7").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#DropDownList7").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address2").hide();

        $("#DropDownList1").change(function () {

            var x = $(this).val();
            if (x == "Yes") {
                $("#student_permanent_address2").show();
            }
            else {
                $("#student_permanent_address2").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#txttoilets").hide();
        $("#DropDownList19").change(function () {

            var x = $(this).val();
            if (x == "Custom") {
                $("#txttoilets").show();
            }
            else {
                $("#txttoilets").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#txtfurniture").hide();
        $("#DropDownList18").change(function () {

            var x = $(this).val();
            if (x == "Custom") {
                $("#txtfurniture").show();
            }
            else {
                $("#txtfurniture").hide();
            }

        });
    }); 
</script>

 <script type="text/javascript">

     $(document).ready(function () {
         $("#txtpark").hide();
         $("#ddlparking").change(function () {

             var x = $(this).val();
             if (x == "Custom") {
                 $("#txtpark").show();
             }
             else {
                 $("#txtpark").hide();
             }

         });
     });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#cr").hide();
        $("#Button1").click(function () {


            $("#cr").show();


        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#Div19").hide();
        $("#DropDownList28").change(function () {

            var x = $(this).val();

            if (x == "Custom type") {
                $("#Div19").show();
            }
            else {
                $("#Div19").hide();
            }

        });
    });
</script> 

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox2").hide();
        $("#DropDownList56").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox2").show();
            }
            else {
                $("#TextBox2").hide();
            }

        });
    });
</script>
<link href="../css/datepicker.css" rel="stylesheet" type="text/css" />
 <style>
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}
    </style>
</head>
<body>
<form id="form_std_register" class="form_control" runat="server" 
    enctype="multipart/form-data">
 <input type="hidden" id="hdClient" runat="server" />

<div id="wrapper">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
   
      
      <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label1" runat="server" text="Label"></asp:label><span class="arrow"></span></a></li>
      <li><span class="logout_icon"></span>
          <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>
      <div id="box3" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar">
        <h1 style="float:right" >Documents</h1>
        
      </div>
      <div id="content_placeholder">
      <div id="Div3" class="form_placeholder_std">
            <div id="Div4" class="form_title"><img src="../images/icons/form.png">
              <h2>Task notes</h2>
            </div>
               
              
          
          </div>
          
      <style type="text/css">
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=80);
opacity: 0.8;
z-index: 10000;
}

.GridviewDiv {font-size: 100%; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helevetica, sans-serif; color: #303933;}
Table.Gridview{border:solid 1px #df5015;}
.Gridview th{color:#FFFFFF;border-right-color:#abb079;border-bottom-color:#abb079;padding:0.5em 0.5em 0.5em 0.5em;text-align:center}
.Gridview td{border-bottom-color:#f0f2da;border-right-color:#f0f2da;padding:0.5em 0.5em 0.5em 0.5em;}
.Gridview tr{color: Black; background-color: White; text-align:left}
:link,:visited { color: #DF4F13; text-decoration:none }

</style>
          
         
          <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              
            </div>
          </div>
          
         
          <div id="student_permanent_address2" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Search Results</h2>
            </div>
           <asp:Label ID="Label4" runat="server" Text="Label" Visible="false"></asp:Label><asp:Label ID="Label5"
                   runat="server" Text="Label" ></asp:Label>
            
</div>
<div>

              
            <div>
              
                
                
              
               </div>
          </div>

               
           
   
                    
        
           
		  
          

             
             
<div>
<asp:GridView ID="gvDetails"  runat="server" AutoGenerateColumns="false" DataKeyNames="FilePath"  CssClass="mGrid">
<HeaderStyle BackColor="#df5015" />
<Columns>
<asp:BoundField DataField="Id" HeaderText="Property Id" />
<asp:BoundField DataField="FileName" HeaderText="FileName" />
<asp:TemplateField HeaderText="Download">
<ItemTemplate>
<asp:LinkButton ID="lnkDownload" runat="server" Text="Download" OnClick="lnkDownload_Click" ImageUrl="../images/22.png"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
           
           
          
          

         
         
      </div>
    </div>
  </div>
  
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->

 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="createform" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Create Form</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button2" runat="server" Text="cancel" 
                CssClass="btn btn-success" Visible="False" />
             <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList3" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agent</td>
       <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
            </div>
      </div>
      
 </div>
      <ul id="nav" style=" text-align:right">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">Dashboard</a> </li>    <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">Rent</a>
        <ul>
          <li><a href="report_property_for_rent.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Property To Rent</a></li> <li><a href="search_property_torent.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Client Want To Rent</a></li>
        </ul></li><li><a href="search_buy_property.aspx"><img src="../images/icons/form.png" class="menu_icon">Client Want To Buy</a><li><a href="searh_sell_property.aspx"><img src="../images/icons/form.png" class="menu_icon">Property For Sale</a></li>
      
  <%--    <li><a href="#"><img src="../images/icons/phone.png" class="menu_icon"> Requests Details</a>
        <ul>
          <li><a href="Add_New_Request.aspx"><img src="../images/icons/form.png" class="menu_icon">Requests </a></li>
  
        <li><a href="deleterequest.aspx"><img src="../images/icons/trash.png" class="menu_icon">Delete Requests </a></li>
       
          <li><a href="adminrequestreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Reports</a></li>
        </ul>
      </li>--%>
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> Agent</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
        </ul>
      </li>
  
     
     <li><a href="admin_notes.aspx"><img src="../images/icons/search.png" class="menu_icon">Action & Activity</a>
      <%--  <ul>
          <li><a href="admin_notes.aspx"><img src="../images/icons/paste.png" class="menu_icon">Notes</a></li>
          
         
           <li><a href="search_tasks.aspx"><img src="../images/icons/notice.png" class="menu_icon">Tasks</a></li>
           <li><a href="Property_Sell_Buy_Rent.aspx"><img src="../images/icons/home.png" class="menu_icon">Property to Sell/Buy/Rent</a></li>
          
        </ul>--%>
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">Account Details</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
         
          
        </ul>
      </li>
    <li style="margin-top:10px" ><iframe src="Admin_Module_small/Calendar.aspx" height="250" width="220" scrolling="no" frameborder="0"></iframe></li>
    <li><a href="dashboard.aspx"><img src="../images/icons/id.png" class="menu_icon"><strong>View Full Calendar</strong></a></li>
    </ul></div>
  


   <div id="footer">
    <p> Copyright &copy; 2013. <a href="http://www.iitechnology.in">iITechnology</a></p>
  </div>

</div>
 <script language="javascript">
     function ValidateFile(source, args) {
         try {
             var fileAndPath =
           document.getElementById(source.controltovalidate).value;
             var lastPathDelimiter = fileAndPath.lastIndexOf("\\");
             var fileNameOnly = fileAndPath.substring(lastPathDelimiter + 1);
             var file_extDelimiter = fileNameOnly.lastIndexOf(".");
             var file_ext = fileNameOnly.substring(file_extDelimiter + 1).toLowerCase();
             if (file_ext != "jpg") {
                 args.IsValid = false;
                 if (file_ext != "gif")
                     args.IsValid = false;
                 if (file_ext != "png") {
                     args.IsValid = false;
                     return;
                 }
             }
         } catch (err) {
             txt = "There was an error on this page.\n\n";
             txt += "Error description: " + err.description + "\n\n";
             txt += "Click OK to continue.\n\n";
             txt += document.getElementById(source.controltovalidate).value;
             alert(txt);
         }

         args.IsValid = true;
     }
    </script>
      
</form>
<script type="text/javascript" src="../js/zebra_datepicker.js"></script>
     
                <script type="text/javascript">
                    window.onload = function () {
                        GetDate();
                    };
                    function GetDate() {
                        var dt = new Date();
                        var dd;
                        var mm;
                        var yyyy;
                        var date;
                        var month;
                        hh = dt.getHours();
                        mi = dt.getMinutes();
                        mk = dt.getTime();
                        dd = dt.getDate();
                        mm = dt.getMonth() + 1;


                        document.getElementById('txtdate').value = dd + '/' + mm + '/' + dt.getFullYear() + ' ' + hh + '.' + mi;

                    }
</script>
</body>
</html>